﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CorporateGym.DAL;

namespace BLL
{
    public class MedicalApproval
    {
        public int Id { get; set; }
        public DateTime ExpirationDate { get; set; }

        public static MedicalApproval CreateFromRow(CorporateGymDB.MedicalApprovalRow i_Row)
        {
            return new MedicalApproval { Id = i_Row.ApprovalId, ExpirationDate = i_Row.ExpirationDate };
        }
    }
}
